package bdz.projects.inl.vo
{
	import bdz.projects.inl.core.CoreVO;

	public class ProjectMediaVO extends CoreVO
	{
		[Bindable]
		public var project_media_id:String;
		[Bindable]
		public var project_id:String;
		[Bindable]
		public var media_link:String;
		[Bindable]
		public var type:String;
		[Bindable]
		public var media_thumb:String;
		public function ProjectMediaVO(defXML:XML=null)
		{
			idField = "project_media_id";
			propList = ["project_media_id", "project_id", "media_link", "media_thumb", "type"];
			super(defXML, null, "relation");
		}
		override protected function createPropertyAttributes():void{
			propAttributes = [
			{name:"media_link", type:"media", vo:ProjectMediaVO, label:"Media"},
			{name:"media_thumb", type:"image", vo:ProjectMediaVO, label:"Thumbnail"}
			];
		}
		
	}
}